package com.bw.dao.impl;

import com.bw.dao.GoodsTypeDao;
import com.bw.pojo.GoodsType;

import java.util.List;

public class GoodsTypeDaoImpl extends BaseDao implements GoodsTypeDao {
    @Override
    public List<GoodsType> goodsType() {
        String sql = "select * from t_goods_type";
        List<GoodsType> list = baseQueryList(GoodsType.class, sql);
        return list;
    }
}
